Bearer token auth works with CLI bug fails in doc

I’m building a pack to connect with the Workable ATS.

When I run a sync using the Coda CLI it works fine. When I run that same sync with the same token from a Coda doc, it fails.

To repeat: I’m using the same token, same sync table, and the same pack version.

Video here: Screen Recording 2022-10-03...

Any suggestions?

Hi @Christian_Rodriguez2 - These sorts of errors are hard to debug, since most APIs can’t tell you exactly what’s wrong with the token. A common mistake is including some extra whitespace at the end of the token as you paste it into the Coda dialog, so I’d change that first. If that doesn’t help then maybe we should meet during my Office Hours to see if we can do some live debugging.