Does anyone know how to fix an error 400
# general-english
m
Does anyone know how to fix an error 400 in the vapi dashboard when trying to order HIPAA compliance?
f
Error 400 usually means a missing required field, invalid business info, billing mismatch, or a backend validation issue during the HIPAA compliance request. What exact step does it fail on, and do you see any error message in the browser console or network tab?
m
Hi 👋 thanks for the DM The request sent out is this: POST https://api.eu.vapi.ai/subscription/[redacted]/hipaa {"recipientName":"[My Name]","recipientOrganization":"[Company Name]"} The response is {"message":"Couldn't create HIPAA agreement","error":"Bad Request","statusCode":400}
There are a total of 1k credits in the account so it should have enough money
and the name of the organization in org settings
the data sent out should be valid because if i leave one of the fields empty then i get this error {"message":["recipientName must be a string","recipientOrganization must be a string"],"error":"Bad Request","statusCode":400}
f
I checked it, and your payload looks correct, so the 400 error is most likely coming from Vapi’s backend after the request is sent, not from anything you entered. Usually it’s caused by an account/org mismatch, billing setup issue, or something not enabled yet on the EU endpoint.
I can help you figure it out properly and save you time. If you send me the request ID or response headers from that failed call, I can take a closer look with you privately.
m
@Favour lucius sent you a DM
u
Hello brother Did you got this solved.. I saw an obvious error that might have been the issue, seems you overlooked it?
m
no still open
willing to put a bounty on solving this (paypal payment/donation to charity of your choice)
u
From what I see here, there nothing wrong with your api request body… But since you said the org name and the company name is valid Then that led to just 2 possible reasons why this is not working First is either your current subscription doesn’t support hipaa Or you already have an existing agreement… either ways you should create a support ticket or reach out to the support team through email to help you check directly
Can you send me a dm?
Can you send me a dm?
m
sent you a dm
u
I’m sorry Can you send me a friend request also, Im not able to reply your dm, i’m restricted