exotic-emerald•2y ago
Can someone please help me with this API
It's giving me nothing but headaches... I am trying to send a post request to a custom knowledgebase on Stackai and am getting a 422 error?



3 Replies
It is because of all the double quotes you have in your body. It should be:
exotic-emeraldOP•2y ago
No this was the original i was using and it still does not work. i saw someone else using the extra quotations and gave it a go but stil the same error.
Tried that version again just in case. still the same error
is the user_id a number or string?
I'm happy to help. When will you be available to do a Discord call? I DMed you.