Skip to content
New issue

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

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

Already on GitHub? # to your account

JsonDecodingException on approvals_before_merge #226

Closed
pinguinjkeke opened this issue Jun 7, 2022 · 0 comments
Closed

JsonDecodingException on approvals_before_merge #226

pinguinjkeke opened this issue Jun 7, 2022 · 0 comments

Comments

@pinguinjkeke
Copy link
Contributor

Hello. I'm catching an exception, because approvals_before_merge field is null. According to GitLab doc this field is not required in the response and can be null.

Compiling Dangerfile Dangerfile.df.kts
Executing kotlinc -script-templates systems.danger.kts.DangerFileScript -cp /usr/local/lib/danger/danger-kotlin.jar -script Dangerfile.df.kts /var/folders/5q/4nc5x9yd6mvcpzd_g_cwjdyc0000gn/T/danger-dsl.json danger_out.json - pid 78358

kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 95589: Unexpected symbol 'n' in numeric literal
JSON input: .....    "approvals_before_merge": null,
        "subscribed": fa.....
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant