-
-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Labels
Description
Describe the bug
There is a missing class InvalidRestApiRequest in the output.py file. The handle_create_order.py tries to import this but doesn't actually use it. I'm not sure if the class needs to be created, or it's been removed and the imports haven't been cleaned up.
To Reproduce
Steps to reproduce the behavior:
- Bootstrap a new service
- Deploy to AWS
- Try to invoke the API endpoints, returns internal server error
- Error message is Unable to import module 'activity_service.handlers.handle_create_order': cannot import name 'InvalidRestApiRequest' from 'activity_service.models.output' (/var/task/activity_service/models/output.py)
Expected behavior
The API returns
Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context