You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often when updating or creating an object with foreman-ansible-modules the user can get an error like "Error while updating ProvisioningTemplate: 422 Client Error: Unprocessable Entity for url: https://localhost/api/v2/provisioning_templates/135" the later part is returned from python-requests (https://github.com/requests/requests/blob/master/requests/models.py#L937) but it isn't very helpful and a user often has to go and look in production.log
The foreman API does more often than not return an error in the following format
{
"error": {
"errors": {
"base": [
"This template is locked. Please clone it to a new template to customize."
]
},
"full_messages": [
"This template is locked. Please clone it to a new template to customize."
],
"id": 59
}
}
It would be really nice if we can provide these error messages to users.
The text was updated successfully, but these errors were encountered:
Often when updating or creating an object with
foreman-ansible-modules
the user can get an error like"Error while updating ProvisioningTemplate: 422 Client Error: Unprocessable Entity for url: https://localhost/api/v2/provisioning_templates/135"
the later part is returned from python-requests (https://github.com/requests/requests/blob/master/requests/models.py#L937) but it isn't very helpful and a user often has to go and look in production.logThe foreman API does more often than not return an error in the following format
It would be really nice if we can provide these error messages to users.
The text was updated successfully, but these errors were encountered: