You need to sign in to do that
Don't have an account?
Cat Rescue null argument for JSONGenerator.writeStringField()
During the Cat Rescue module when verifying the Install Einstein Vision Apex Wrappers I am getting the following error: There was an unexpected error in your org which is preventing this assessment check from completing: System.NullPointerException: null argument for JSONGenerator.writeStringField()
All Answers
Hi All,
Same issue here..
@Emma_Kirkwood - Can you explain what you meant? Like others, i added the Location also with Sys admin profile.
Still the same error . Could not authorise with Einstein Vision. Please validate your credentials.
Any help much appreciated..
Thanks,
Chellappa
I solved this issue, below the steps i did:
1. On the Setup Menu, Type Custom Settings.
2. Click Manage on the "Einstein AI Settings" custom setting.
3. Here is the mistake i committed ( and there is more people that probably did the same), i selected new on the wrong Button, you need to select New under the "Default Organization Level Value", not in the Custom Settings values, below an image.
4. If you have created the new value in the wrong Button as me, you need to delete this one, and create in the correct button ( try more than one time to delete, and if you are not able to delete the "wrong value", change the value that you generated before try to delete, because probably you will have an reference error to delete the "wrong value" in a Apex Class).
5. Once you deleted the "Wrong value" from the custom setting, Create the "Correct One", on the "Default Organization Level Value".
6. On the Einstein EMail field, put the email of your user in the Trailhead Playground that you are doing this module (the same one that you used on the "Create an Einstein Platform Account" step), pay attention, put the EMAIL ADDRESS of your user here, NOT the USER NAME. After you do that, the custom setting will stay as the image below:
After that, you can validate the step on the Trailhead Project.