2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
To help you better, please enable Logs (with Field Log Level - "ALL") for your API from the Settings page of your AppSync console. Execute the same query and check for the evaluated "Request" and "Response" Mapping Templates in the CloudWatch logs. This should give you some indication on why the counties is resolved to an empty array.
Also, if you still run into issues, please post the obfuscated Request/Response mapping content from your logs so I can help further.
répondu il y a 5 ans
0
The "field_locations" is the section of the elastic search result that is used. But I just figured out my issue. I forgot to include the array on field_location. starting with the second #if and again in the #foreach I should of had field_locations[0]
répondu il y a 5 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans