Title: Internal server error
Last modified: December 19, 2022

---

# Internal server error

 *  Resolved [dieringelei](https://wordpress.org/support/users/dieringelei/)
 * (@dieringelei)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/internal-server-error-699/)
 * Hello,
 * my plugin version is 2.12.2.
 * I tried to test the checkout with Klarna, but I get an error message alternating
   between “checkout error” and “internal server error”.
 * I have connected the API successfully and am using the Klarna Payments plugin
   alongside the Klarna Order Management plugin (which I deactivated during my search
   for the error, to no effect).
 * There is this error in the log I activated for Klarna Payments:
 *     ```wp-block-code
       12-19-2022 @ 17:54:21 - "Frontend JS 19b125cd-8ee3-957a-b9c8-4bf9c106124a: Successfully placed order. Starting authorization with Klarna"
       12-19-2022 @ 17:54:21 - "Frontend JS 19b125cd-8ee3-957a-b9c8-4bf9c106124a: Checkout error | TypeError: klarna_payments.addresses is undefined"
       ```
   
 * There are also several errors of the same type in the Woocommerce status report,
   which seem to be connected to the issue. One example:
 *     ```wp-block-code
       2022-11-02 18:15:02: KP Create Session
       Response code: 401
       Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
       Correlation ID:
       ```
   
 * WooCommerce and the Klarna Plugins are both up to date. Any hint or help is highly
   appreciated!
 * Thanks and kind regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finternal-server-error-699%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [krokedilmartin](https://wordpress.org/support/users/krokedilmartin/)
 * (@krokedilmartin)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/internal-server-error-699/#post-16306403)
 * Hello [@dieringelei](https://wordpress.org/support/users/dieringelei/) 
   Please
   share the whole system report from your store using a service like [https://pastebin.com/](https://pastebin.com/)

Viewing 1 replies (of 1 total)

The topic ‘Internal server error’ is closed to new replies.

 * ![](https://ps.w.org/klarna-payments-for-woocommerce/assets/icon-256x256.png?
   rev=3174333)
 * [Klarna for WooCommerce](https://wordpress.org/plugins/klarna-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/klarna-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/reviews/)

## Tags

 * ["internal server error"](https://wordpress.org/support/topic-tag/internal-server-error/)
 * [checkout](https://wordpress.org/support/topic-tag/checkout/)

 * 1 reply
 * 2 participants
 * Last reply from: [krokedilmartin](https://wordpress.org/support/users/krokedilmartin/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/internal-server-error-699/#post-16306403)
 * Status: resolved