This question is probably best suited to our developer forum where there are a lot of API experts as well as some members of the Trello team who can help you with API-related questions. Here is where you can find the forum: https://community.developer.atlassian.com/c/trello.
I'd recommend posting your question there along with a copy of the errors/headers that you're receiving back.
Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events