I try to use llama3.1 model like above, and it throws the following error
HTTPStatusError: Error response 400 while fetching
"error": {
"code": 400,
"message": "Project `XXXXXX` is not allowed to use Publisher Model `projects/XXXXXX/locations/REGION/publishers/meta/models/MODEL`",
"status": "FAILED_PRECONDITION"
}
The curl command using the same settings (model, credentials, locations, project_id) works. So I don't think it is the server issue.
I try to use llama3.1 model like above, and it throws the following error
The curl command using the same settings (model, credentials, locations, project_id) works. So I don't think it is the server issue.