I am having an issue with a simple app script to create a person record in NationBuilder. I've checked my JSON data and verified it with REQBIN and it works in the API explorer. The error is "I can only talk JSON. Please set 'Accept' and 'Content-Type' to 'application/json'" I have both of the attributes in the options model. I've even tried every possible capitalization combination.??? If anyone has some google app script that is known to work, I would really appreciate it. Everything I have found so far isn't working. TIA.
I am happy to take a deeper look at the code you are using. I haven't received any other reports from other customers on this recently and I am currently using the create a person API fairly regularly.
Would you be able to send your code to me at [email protected]?
Showing 1 reaction
Sign in with