aarhusstadsarkiv / stadsarkiv-client

A generic starlette client for our Fastapi-webservice
1 stars 1 forks source link

Validate records a bit better #343

Closed diversen7 closed 6 days ago

diversen7 commented 1 week ago

/records/958-1937 gives a 500 error on webservice.

The client also gives it a 500 error.

I think it should give a 404 error.

Question is if this should be validated on webservice or on clients.

@clausjuhl What do you think?

diversen7 commented 6 days ago

This is ok.