Answers for "error status code for api"

11

api error codes

General (unknown) error.	                              = 500
	Customer account not found (possible bad subdomain	      = 401
	Customer account inactive	                              = 401
	Customer account suspended	                              = 503
	Customer account banned	                                  = 418
	Paid customer account inactive due to non-payment	      = 402
	User not found	                                          = 401
	User not active	                                          = 401
	Invalid auth (bad username/password)	                  = 401
	Permissions error.                    	                  = 403
	Maximum number of daily API requests exceeded          	  = 400
Posted by: Guest on March-24-2021
0

rest api error

Cannot apply DjangoModelPermissionsOrAnonReadOnly on a view that does not set `.queryset` or have a `.get_queryset()` method.
Posted by: Guest on June-28-2021

Browse Popular Code Answers by Language