Troubleshooting
Common integration issues and the checks that usually identify them quickly.
Invalid token
A request with an invalid key returns a normal invalid-token challenge. Confirm the key starts with nb_sk_, was copied from the creation screen, has not been revoked, and has the correct scope for the surface you are calling.
MCP client discovers OAuth but direct agents should not
Hosted chat apps may start a sign-in flow before they call MCP. Direct coding agents should send Authorization: Bearer nb_sk_... with every MCP request and do not need the chat-app connector flow.
Generation starts but never completes
- 1
Poll
check_generationwith the correctkind:adforgenerate_ad,model_shotforgenerate_model_shot. - 2
Check
error_messagein the polling response before retrying. - 3
Confirm the project and image UUIDs belong to the same account and project.
- 4
Call
get_creditsto confirm the account has enough generation credits.
Validation errors
Validation errors usually mean a required field is missing, an enum value is not allowed, or an array is empty. Check the tool or endpoint reference, then retry with IDs returned by list_projects, list_product_images, or list_models.
Credit errors
If a generation request fails because of credits, call get_credits or GET /credits before retrying. Lowering variant_count or output quality can reduce the credits needed for some requests.
When to contact support
Contact Novabrand support with the request time, endpoint or tool name, and the public error message. Do not send full API keys in support messages.
