Azure / Azure/logicapps

Custom JavaScript code sometimes fails with InternalServerError

Open
#1,412 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
ABAP
Stars
424
Forks
320
Avg merge
14h 41m
Merged PRs (30d)
1

Description

### Severity

P1 - Critical (Blocking production)

### Describe the Bug with repro steps

I have a simple javascript code that tries to find a value in a small map of (~30 items), but sometimes it fails at random:

Image

If this error is due to quota, it should have a more meaningful message. But it's not possible to know why it's happening from the error message alone. The execution time of this step is absurdly long, it typically runs in just ~100ms.

In addition, there is no retry setting for custom JS code, it would be a nice to have, for such situations.

### What type of Logic App Is this happening in?

Consumption (Portal)

### Are you experiencing a regression?

_No response_

### Which operating system are you using?

Windows

### Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

### Workflow JSON

```json

```

### Screenshots or Videos

_No response_

### Environment

N.A.

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.