FogBugz XML API: Error Codes


Follow

 

What is it?

Sometimes, the XML API will return an error with a code attached. With this list, you can better comprehend what the error is about and take proper action.

Audience:

Customer Facing Information.

Who will use it?

Any FogBugz user requesting the XML API will receive a response similar to below if there is any error.

How is it Used?

 Next is a list of some XML API Error Codes.

  • 0 – FogBugz not initialized. The database may be down or needs to be upgraded.
  • 1 – Log On problem – Incorrect Username or Password
  • 2 – Log On problem – multiple matches for username
  • 3 – You are not logged on.
  • 4 – Argument is missing from the query
  • 5 – Edit problem – the case you are trying to edit could not be found
  • 6 – Edit problem – the action you are trying to perform in this case is not permitted
  • 7 – Time tracking problem – you can’t add a time interval to this case because the case can’t be found, is closed, has no estimate, or you don’t have permission
  • 8 – New case problem – you can’t write to any project
  • 9 – Case has changed since the last view
  • 10 – Search problem – an error occurred in the search.
  • 12 – Wiki creation problem
  • 13 – Wiki permission problem
  • 14 – Wiki load error
  • 15 – Wiki template error
  • 16 – Wiki commit error
  • 17 – No such project
  • 18 – No such user
  • 19 – Area creation problem
  • 20 – FixFor creation problem
  • 21 – Project creation problem
  • 22 – User creation problem
  • 23 – Project percent time problem
  • 24 – No such fixfor
  • 25 – Violates fixfor execution order
  • 27 – No such API command
  • 28 – Account in Maintenance Mode
  • 29 – Two-Factor Authentication is enabled – 2FA disables the logon API command 

See also the full XML API documentation.