You might need to convert your “body” to a Unit8Array using TextEncoder
See this stackoverflow answer for an example: javascript - Converting between strings and ArrayBuffers - Stack Overflow
Also, I hope that’s not your actual API key, if it is, you might want to regenerate it😅