• Developers
  • API: Internal Server Error 500

Bastiaan changed the title to API: Internal Server Error 500.

    @MasonChase#91135 Good morning!

    Maybe you can post a code-snippet of the request?

      Yes, I'm using SDK, the code snippet is coming in a second

      try
      {
      	string ApiKey = JObject.Parse(body).Value<string>("ApiKey");
      	ApiContext apiContext = _oAuth.SetUpApiContext(ApiKey);
      
      	var csvRequest = CustomerStatementExport.Create(
      		"CSV",
      		"2019-05-01",
      		DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd"),
      		null,
      		"UK_US"
      	);
      
         BunqResponse<CustomerStatementExport> csv = CustomerStatementExport.Get(csvRequest.Value);
      
      }
      catch (Exception e)
      {
      	_logger.LogError(e.ToString());
      	throw new Exception(e.ToString());
      }

      @MasonChase#91135 I use sdk c#

        @Bastiaan#91140

        This is a new issue started this morning on bunq server,
        I am making an API call (not an oauth call).

        There was no problem just 30 minutes ago. and I am getting the same error on bunqDesktop

          @MasonChase#91143 That's strange indeed. Can you maybe also try "PDF" as export-type?

            @MasonChase
            I've reported this to a developer at bunq, he can simulate this issue in the Sandbox environment and looking into it.

              @MasonChase We're currently looking into the case. As soon as we have updates about it, I'll make sure to let you know right away 🙂👍

                @MasonChase,

                Long story short: We found the cause of the bug and we also found a solution for it 😄.

                We ran some tests and we figured out that there was something wrong on our Sandbox server. The server which serves our apps was not affected. Anyhow, we applied a solution for the issue and it should be fixed right now!

                Thank you for reporting the issue and have a great day! 🌈

                  Hi All,

                  ApiContext.CreateForPsd2() (sandbox) results in a Internal Server Error (500) for the last few hours,
                  Can you help me out please,

                  Thanks

                    Write a Reply...