Skip to content

Mockingstar can't encode request body with Base64 if request body contains Arabic characters #73

Description

@MertNYuksel

{"address": Al Karama الكرامة دبي"}
This is the request body I want to mock.

Mockingstar local service returns 500 with these logs:

2025-09-23T15:06:54Z warning Mock not found for: /tmccheckout-mmember-mcprimary-santral/ar-AE-36/addresses
2025-09-23T15:07:59Z error Handle mock try error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "body", intValue: nil)], debugDescription: "Encountered Data is not valid Base64.", underlyingError: nil))
2025-09-23T15:07:59Z error handler error: The data couldn’t be read because it isn’t in the correct format.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions