Invalid advisory credit
type | https://docs.frem.sh/reference/api/errors/invalid-advisory-credit |
| HTTP status | 400 Bad Request |
What it means
The credit you sent is refused: login is not a frem.sh login, or type is not one of the OSV credit types.
Example detail messages returned with this error:
- type is one of finder, reporter, analyst, coordinator, remediation_developer, remediation_reviewer, remediation_verifier, tool, sponsor, other.
- a credit names a frem.sh login.
What to do
Send a frem.sh login and one of the listed types, in lower case.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/invalid-advisory-credit",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.