Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.InvalidOperationException No converter configured for type System.String at Amazon.DynamoDBv2.ConverterCache.GetConverter #1111

Closed
hugosoli opened this issue Oct 30, 2018 · 2 comments
Labels
investigating This issue is being investigated and/or work is in progress to resolve the issue.

Comments

@hugosoli
Copy link

I am developing an app with UNITY 2017.2.3f1 and the aws-sdk-unity_3.3.396.2
S3 works fine which means that many elements are OK. The code works fine for MAC and Android
However when I try to post an element on DynamoDB with the following code

var rec = new Document();
rec["id"] = 1;//recName;
rec["Lat"] = 2;//Input.location.lastData.latitude;
rec["Long"] = 3;//Input.location.lastData.longitude;
rec["Time"] = 4;//recTime;

			table.PutItemAsync(rec, (r) => {
				Debug.Log("\n rec has been poted " + r.Exception + " *222444*****************");
				textnotification.text = "Archivo subido con éxito";
				Invoke("cleanText", 3);
				butSender.interactable = false;
				butPlayer.interactable = true;
				butRecorder.interactable = true;
				hasnotbeensent = false;
			});

it complains with the following error.

System.InvalidOperationException: No converter configured for type System.String
at Amazon.DynamoDBv2.ConverterCache.GetConverter (System.Type type) [0x00000] in :0
at Amazon.DynamoDBv2.DynamoDBEntryConversion.ConvertToEntry (System.Type inputType, System.Object value) [0x00000] in :0
at Amazon.DynamoDBv2.DocumentModel.UnconvertedDynamoDBEntry.ConvertToAttributeValue (Amazon.DynamoDBv2.DocumentModel.AttributeConversionConfig conversionConfig) [0x00000] in :0
at Amazon.DynamoDBv2.DocumentModel.Document.ToAttributeMap (Amazon.DynamoDBv2.DynamoDBEntryConversion conversion, IEnumerable1 epochAttributes) [0x00000] in <filename unknown>:0 at Amazon.DynamoDBv2.DocumentModel.Table.PutItemHelper (Amazon.DynamoDBv2.DocumentModel.Document doc, Amazon.DynamoDBv2.DocumentModel.PutItemOperationConfig config) [0x00000] in <filename unknown>:0 at Amazon.DynamoDBv2.DynamoDBAsyncExecutor+<>c__DisplayClass1_01[T].b__0 (System.Object state) [0x00000] in :0 ******* ***********

I think it is a Bug but I am not sure.

@klaytaybai klaytaybai changed the title System.InvalidOperationException System.InvalidOperationException No converter configured for type System.String at Amazon.DynamoDBv2.ConverterCache.GetConverter Oct 31, 2018
@klaytaybai klaytaybai added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Nov 1, 2018
@hugosoli
Copy link
Author

hugosoli commented Nov 7, 2018

Please, is there any update about this issue?

@hugosoli
Copy link
Author

hugosoli commented Dec 29, 2018

error of mine.
I have to add a new line for the dbservice
assembly fullname="AWSSDK.DynamoDBv2" preserve="all"
to the link.xml file

aws-sdk-dotnet-automation pushed a commit that referenced this issue Oct 24, 2024
* remove nimble studio from sdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating This issue is being investigated and/or work is in progress to resolve the issue.
Projects
None yet
Development

No branches or pull requests

2 participants