Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utilities/mkdir on existing folder returns incorrect header #172

Closed
chrisjsewell opened this issue Jan 29, 2023 · 2 comments
Closed

utilities/mkdir on existing folder returns incorrect header #172

chrisjsewell opened this issue Jan 29, 2023 · 2 comments
Assignees

Comments

@chrisjsewell
Copy link
Contributor

This returns 'X-A-Directory': "path is a directory, can't checksum directories", which is probably not intended, and also not listed in https://firecrest-api.cscs.ch/#/Utilities/post_utilities_mkdir

@jpdorsch jpdorsch self-assigned this Jan 31, 2023
@jpdorsch
Copy link
Collaborator

Hi @chrisjsewell ,

This is solved in 1.11.0

I will close the issue but feel free to open it again if needed

Best regards

@khsrali
Copy link

khsrali commented Jun 12, 2024

Hi @jpdorsch
on dom this is returning X-Invalid-Path instead of X-Exists .

last request: 400 {'description': 'Error on mkdir operation', 'error': "Could not chdir to home directory /users/akhosrav: No such file or directorymkdir: cannot create directory '/scratch/snx3000tds/akhosrav/delete_me/fff': File exists"}: sourcePath and/or targetPath are invalid paths

{'Content-Type': 'application/json', 'Content-Length': '218', 'Connection': 'keep-alive', 'RateLimit-Remaining': '9', 'RateLimit-Reset': '1', 'RateLimit-Limit': '10', 'X-RateLimit-Limit-Second': '10', 'X-RateLimit-Remaining-Second': '9', 'X-RateLimit-Remaining-Minute': '119', 'X-RateLimit-Limit-Minute': '120', 'Server': 'gunicorn', 'Date': 'Wed, 12 Jun 2024 12:11:28 GMT', 'X-Invalid-Path': 'sourcePath and/or targetPath are invalid paths', 'X-Kong-Upstream-Latency': '613', 'X-Kong-Proxy-Latency': '3', 'Via': 'kong/3.2.1'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants