iamkubi / pydactyl

Python wrapper for the Pterodactyl Panel API
MIT License
69 stars 21 forks source link

update_server_build fails since backup limit is not present #46

Closed jozefbonnar closed 2 years ago

jozefbonnar commented 2 years ago

Describe the bug When calling update_server_build on the latest version of pterodactyl it throws the error: API Request resulted in errors: [{'code': 'ValidationException', 'status': '422', 'detail': 'The Backup Limit field must be present.', 'meta': {'source_field': 'feature_limits.backups', 'rule': 'present'}}]

To Reproduce Steps to reproduce the behavior. Please make sure to include sample code that will reproduce your issue. If applicable include the full traceback, not just a single line error message.

  1. Call update_server_build with all values present
  2. Fails with error: API Request resulted in errors: [{'code': 'ValidationException', 'status': '422', 'detail': 'The Backup Limit field must be present.', 'meta': {'source_field': 'feature_limits.backups', 'rule': 'present'}}]

Expected behavior Update the server build

Environment

Additional context Add any other context about the problem here.

jozefbonnar commented 2 years ago

45 fixed in this pull request