Trying to create a commit but getting GitlabCreateError: 400 due to incorrect file_path #2358
-
Hey guys I'd really appreciate some help as I've wasted over 2 hours on this supposedly simple issue I'm trying to create a commit and getting the following error raise error(e.error_message, e.response_code, e.response_body) from e Don't understand is as file_path looks correct to me as well as exists in the repostitory where I'm trying to create the commit I would really appreciate if somebody could advise me. Greetings
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you can provide a minimal reproducer of sample code that would be useful. As at the moment it is more of guess work on my part to figure out the issue. An example of using python-gitlab/tests/functional/api/test_repository.py Lines 95 to 105 in 12aea32 |
Beta Was this translation helpful? Give feedback.
-
So my theory is that the |
Beta Was this translation helpful? Give feedback.
So my theory is that the
actions
variable is a string and not a dictionary.