# \#lambda

**URL:** https://discuss.dgraph.io/tag/lambda/240.md

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

---

## [How to setup AWS s3 bucket on D graph lambda server](https://discuss.dgraph.io/t/how-to-setup-aws-s3-bucket-on-d-graph-lambda-server/19292)

<div class="topic-metadata">

**Author:** [@Deepak\_Kumar\_Gupta](https://discuss.dgraph.io/u/Deepak_Kumar_Gupta)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 9:48am UTC](https://discuss.dgraph.io/t/how-to-setup-aws-s3-bucket-on-d-graph-lambda-server/19292 "2024-04-22T09:48:40Z")

</div>

How can we setup aws s3 backet on lambda server.

---

## [Newest version of Dgraph Lambda is not yet published on Dockerhub](https://discuss.dgraph.io/t/newest-version-of-dgraph-lambda-is-not-yet-published-on-dockerhub/19055)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 0\
**Last updated:** [November 14, 2023, 3:02pm UTC](https://discuss.dgraph.io/t/newest-version-of-dgraph-lambda-is-not-yet-published-on-dockerhub/19055 "2023-11-14T15:02:51Z")

</div>

Although the Dgraph Lambda has been fixed 4 months ago (and deployed to Cloud), the Dockerhub image is still the one from one year ago and missing the X-Dgraph-AccessToken source! Could you push a new release please? T…

---

## [How to do schema validation through lambda resolver?](https://discuss.dgraph.io/t/how-to-do-schema-validation-through-lambda-resolver/18905)

<div class="topic-metadata">

**Author:** [@Yaroslav\_Kuznetsov](https://discuss.dgraph.io/u/Yaroslav_Kuznetsov)\
**Replies:** 0\
**Last updated:** [September 12, 2023, 6:11am UTC](https://discuss.dgraph.io/t/how-to-do-schema-validation-through-lambda-resolver/18905 "2023-09-12T06:11:36Z")

</div>

Good day, I’m trying to set up my own field validation using Lambda Webhooks for my entity. Here is the approximate code that I have: @auth\<ExtendedGraphQLEventFields, BlacklistFields\>() static async add({ event, au…

---

## [Zion (v21.12) Documentation and Setting Up a Lambda Server](https://discuss.dgraph.io/t/zion-v21-12-documentation-and-setting-up-a-lambda-server/16396)

<div class="topic-metadata">

**Author:** [@Viany\_Manuel](https://discuss.dgraph.io/u/Viany_Manuel)\
**Replies:** 5\
**Last updated:** [August 25, 2023, 7:35pm UTC](https://discuss.dgraph.io/t/zion-v21-12-documentation-and-setting-up-a-lambda-server/16396 "2023-08-25T19:35:21Z")

</div>

As the heading suggests, is the documentation updated for Zion? Because I have been looking for an updated one to implement a lambda server, but I can’t seem to find it. Also, is it still possible to implement a differen…

---

## [Lambda/Custom Resolver Filtering allowed or not?](https://discuss.dgraph.io/t/lambda-custom-resolver-filtering-allowed-or-not/13179)

<div class="topic-metadata">

**Author:** [@Florian](https://discuss.dgraph.io/u/Florian)\
**Replies:** 4\
**Last updated:** [May 30, 2023, 11:28am UTC](https://discuss.dgraph.io/t/lambda-custom-resolver-filtering-allowed-or-not/13179 "2023-05-30T11:28:52Z")

</div>

Report a Dgraph Bug What version of Dgraph are you using? Dgraph Version$ dgraph version 20.11.0-rc1-441-gf4c857b8 Have you tried reproducing the issue with the latest release? What is the hardware spec (RAM, OS)? 16…

---

## [Clarification on ACL with multi tenancy and Dgraph lambda](https://discuss.dgraph.io/t/clarification-on-acl-with-multi-tenancy-and-dgraph-lambda/18630)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 0\
**Last updated:** [May 14, 2023, 6:07pm UTC](https://discuss.dgraph.io/t/clarification-on-acl-with-multi-tenancy-and-dgraph-lambda/18630 "2023-05-14T18:07:06Z")

</div>

Since we currently having issues with lambda, I’d have a few questions which I hope somebody can answer. 1. Is it possible to have multiple lambda servers or multiple lambda sources which are assigned to one specific na…

---

## [Lambda Server on Dgraph Cloud needs update!](https://discuss.dgraph.io/t/lambda-server-on-dgraph-cloud-needs-update/18473)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 11\
**Last updated:** [May 6, 2023, 4:08pm UTC](https://discuss.dgraph.io/t/lambda-server-on-dgraph-cloud-needs-update/18473 "2023-05-06T16:08:47Z")

</div>

This issue is related to this Bug, but, in my option, even it is even more critical. The behaviour of a custom resolver when using namespaces is almost identical to the behaviour when using a local setup. However, the l…

---

## [X-Dgraph-AccessToken does not get extracted in lambda](https://discuss.dgraph.io/t/x-dgraph-accesstoken-does-not-get-extracted-in-lambda/18465)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 2\
**Last updated:** [April 4, 2023, 2:23pm UTC](https://discuss.dgraph.io/t/x-dgraph-accesstoken-does-not-get-extracted-in-lambda/18465 "2023-04-04T14:23:20Z")

</div>

I have modified the original post since I had time to thoroughly test the issue with a local Dgraph environment. Issue Although the X-Dgraph-AccessToken is forwarded to the Dgraph lambda server, the token never gets ext…

---

## [Need clarification what webhooks are for in Dgraph](https://discuss.dgraph.io/t/need-clarification-what-webhooks-are-for-in-dgraph/18422)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 5\
**Last updated:** [March 25, 2023, 8:58am UTC](https://discuss.dgraph.io/t/need-clarification-what-webhooks-are-for-in-dgraph/18422 "2023-03-25T08:58:00Z")

</div>

Since I quite often come across deep mutations in my applications, I recently tried to find some (more or less) solutions for it. The most simple, although not general, approach is using webhooks. Assume the schema int…

---

## [Children of node not available in lambda field resolver](https://discuss.dgraph.io/t/children-of-node-not-available-in-lambda-field-resolver/18404)

<div class="topic-metadata">

**Author:** [@andifined](https://discuss.dgraph.io/u/andifined)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 9:39pm UTC](https://discuss.dgraph.io/t/children-of-node-not-available-in-lambda-field-resolver/18404 "2023-03-23T21:39:32Z")

</div>

Hi, I’m new to Dgraph and have an issue with getting the values of a relationship. I want to count the amount of children a node has in a lambda function (I know that this is possible without lambda, but this will later…

---

## [Lambda resolver on dgraph cloud](https://discuss.dgraph.io/t/lambda-resolver-on-dgraph-cloud/18159)

<div class="topic-metadata">

**Author:** [@Sudeep\_Das](https://discuss.dgraph.io/u/Sudeep_Das)\
**Replies:** 5\
**Last updated:** [January 11, 2023, 8:13am UTC](https://discuss.dgraph.io/t/lambda-resolver-on-dgraph-cloud/18159 "2023-01-11T08:13:59Z")

</div>

Hi, I am new to dgraph, and trying to grasp the basics. I am going through the examples at https://dgraph.io/docs/graphql/lambda/field/ and onwards. I am unable to get the lambda mutation and query to work on dgraph cl…

---

## [Update lambda script via mutation](https://discuss.dgraph.io/t/update-lambda-script-via-mutation/18071)

<div class="topic-metadata">

**Author:** [@LCL](https://discuss.dgraph.io/u/LCL)\
**Replies:** 1\
**Last updated:** [December 7, 2022, 6:24pm UTC](https://discuss.dgraph.io/t/update-lambda-script-via-mutation/18071 "2022-12-07T18:24:08Z")

</div>

Hey, I stumbled over the following query for updating the lambda script: mutation updateLambda($input: UpdateLambdaInput!){ updateLambda(input: $input) } It is/was working with version v21.12.0 but isnt working with…

---

## [Lambdas Support GraphQL AST](https://discuss.dgraph.io/t/lambdas-support-graphql-ast/18055)

<div class="topic-metadata">

**Author:** [@Matt\_L](https://discuss.dgraph.io/u/Matt_L)\
**Replies:** 0\
**Last updated:** [December 2, 2022, 2:19am UTC](https://discuss.dgraph.io/t/lambdas-support-graphql-ast/18055 "2022-12-02T02:19:26Z")

</div>

Request support for Dgraph Cloud Lambdas graphql function to have AST type support. It would make developing lambdas 10x better and give devs the peace of mind that their queries/mutations are type safe. They will then…

---

## [Timeout exceeded while awaiting headers](https://discuss.dgraph.io/t/timeout-exceeded-while-awaiting-headers/17910)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 5\
**Last updated:** [October 27, 2022, 9:25pm UTC](https://discuss.dgraph.io/t/timeout-exceeded-while-awaiting-headers/17910 "2022-10-27T21:25:54Z")

</div>

I ran into a very weird problem today. Although, I tried to understand what is going on I can’t get my head around what actually is happening. I have a custom lambda resolver which runs complicated but manageable querie…

---

## [Lambda return errors](https://discuss.dgraph.io/t/lambda-return-errors/13994)

<div class="topic-metadata">

**Author:** [@Anibal\_Aguirre](https://discuss.dgraph.io/u/Anibal_Aguirre)\
**Replies:** 4\
**Last updated:** [November 8, 2022, 10:12am UTC](https://discuss.dgraph.io/t/lambda-return-errors/13994 "2022-11-08T10:12:07Z")

</div>

Hi, We are testing lambdas mutation resolvers to add some business logic. We would need to return some validation errors from the lambdas mutation resolver. I’ve been playing adding error object to the errors JSON arr…

---

## [Custom lambda not working on Dedicated Cluster with namespaces and ACL](https://discuss.dgraph.io/t/custom-lambda-not-working-on-dedicated-cluster-with-namespaces-and-acl/17837)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 5\
**Last updated:** [October 23, 2022, 7:00pm UTC](https://discuss.dgraph.io/t/custom-lambda-not-working-on-dedicated-cluster-with-namespaces-and-acl/17837 "2022-10-23T19:00:28Z")

</div>

I have decided to move this post to here, since it makes more sense to discuss this separately. The Problem I have the feeling that the header forwarding is an issue. It seems that the X-Dgraph-AccessToken never gets fo…

---

## [Lambda Management](https://discuss.dgraph.io/t/lambda-management/17640)

<div class="topic-metadata">

**Author:** [@kdilla301](https://discuss.dgraph.io/u/kdilla301)\
**Replies:** 0\
**Last updated:** [August 11, 2022, 12:26am UTC](https://discuss.dgraph.io/t/lambda-management/17640 "2022-08-11T00:26:29Z")

</div>

Currently all lambdas on Cloud need to be contained within one script section under cloud.dgraph.io/\_/lambdas and if running locally, all lambdas need to be contained in a script.js file It would be great if we can have…

---

## [Dgraph seems to refuse returning an error type when using try-catch in lambda](https://discuss.dgraph.io/t/dgraph-seems-to-refuse-returning-an-error-type-when-using-try-catch-in-lambda/17478)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 10:34am UTC](https://discuss.dgraph.io/t/dgraph-seems-to-refuse-returning-an-error-type-when-using-try-catch-in-lambda/17478 "2022-07-01T10:34:59Z")

</div>

I’m currently trying to implement error handling with Dgraph lambdas. It has been working if I manually check for errors on the return type of eg. a query within the lambda function. However, if I wrap the entire lambda …

---

## [Slash Lambda Fields addGraphQLResolver missing args](https://discuss.dgraph.io/t/slash-lambda-fields-addgraphqlresolver-missing-args/12302)

<div class="topic-metadata">

**Author:** [@amaster507](https://discuss.dgraph.io/u/amaster507)\
**Replies:** 9\
**Last updated:** [May 28, 2022, 9:41am UTC](https://discuss.dgraph.io/t/slash-lambda-fields-addgraphqlresolver-missing-args/12302 "2022-05-28T09:41:57Z")

</div>

Overview Starting to think more with what all we can do with the power of Lambda!! :partying\_face: Wohoo!! Ummm… :frowning\_face: maybe. Concept: With lambda Field resolver we can do just about anything we want inside …

---

## [Dgraph Development Starter](https://discuss.dgraph.io/t/dgraph-development-starter/17047)

<div class="topic-metadata">

**Author:** [@pshaddel](https://discuss.dgraph.io/u/pshaddel)\
**Replies:** 0\
**Last updated:** [March 19, 2022, 6:00pm UTC](https://discuss.dgraph.io/t/dgraph-development-starter/17047 "2022-03-19T18:00:52Z")

</div>

Hey guys, Deploying schema and lambda script was a pain in the neck for me all the time and as a result I implemented a development environment for Dgraph(v21.03). It needs nodejs and docker-compose and you can start d…

---

## [Module Resolution Errors in Lambda with Typescript](https://discuss.dgraph.io/t/module-resolution-errors-in-lambda-with-typescript/16774)

<div class="topic-metadata">

**Author:** [@micchickenburger](https://discuss.dgraph.io/u/micchickenburger)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 8:28pm UTC](https://discuss.dgraph.io/t/module-resolution-errors-in-lambda-with-typescript/16774 "2022-02-04T20:28:58Z")

</div>

The documentation states that I can import types to write lambda scripts in Typescript. I have done this successfully but noticed Lambda only accepts UMD modules. Typescript import type \* as dgraph from '@slash-graphql…

---

## [How do you access Dgraph Lambda Log on Zion Release?](https://discuss.dgraph.io/t/how-do-you-access-dgraph-lambda-log-on-zion-release/16735)

<div class="topic-metadata">

**Author:** [@pshaddel](https://discuss.dgraph.io/u/pshaddel)\
**Replies:** 1\
**Last updated:** [February 1, 2022, 10:51am UTC](https://discuss.dgraph.io/t/how-do-you-access-dgraph-lambda-log-on-zion-release/16735 "2022-02-01T10:51:23Z")

</div>

I started using Zion Release and as it offers I am using it’s lambda resolver(not a separate Lambda Server) by using admin mutations to upload my script. Everything is working fine but how can I see logs of lambda? I u…

---

## [Dgraph returns error when pass id to lambda query](https://discuss.dgraph.io/t/dgraph-returns-error-when-pass-id-to-lambda-query/16520)

<div class="topic-metadata">

**Author:** [@Esmaill\_Hasanzadeh](https://discuss.dgraph.io/u/Esmaill_Hasanzadeh)\
**Replies:** 8\
**Last updated:** [January 13, 2022, 1:38pm UTC](https://discuss.dgraph.io/t/dgraph-returns-error-when-pass-id-to-lambda-query/16520 "2022-01-13T13:38:22Z")

</div>

i cant pass id parameter to lambda query. Anyone have an idea for this ? my schema: type Content { id:ID! status: Int reviewer\_response: String title: String video: String video\_time: Int Thu…

---

## [How to increase dgraph lambda max memory limit?](https://discuss.dgraph.io/t/how-to-increase-dgraph-lambda-max-memory-limit/16401)

<div class="topic-metadata">

**Author:** [@pshaddel](https://discuss.dgraph.io/u/pshaddel)\
**Replies:** 2\
**Last updated:** [December 29, 2021, 8:04pm UTC](https://discuss.dgraph.io/t/how-to-increase-dgraph-lambda-max-memory-limit/16401 "2021-12-29T20:04:53Z")

</div>

I’m fetching some information and I want to insert them into the database using a Lambda Server(using docker localy). The problem is that it uses 70MB of memory and Dgraph Lambda PM2 restarts the process each time I cal…

---

## [Auth rules for @lamdba queries/mutations](https://discuss.dgraph.io/t/auth-rules-for-lamdba-queries-mutations/15365)

<div class="topic-metadata">

**Author:** [@rcbevans](https://discuss.dgraph.io/u/rcbevans)\
**Replies:** 1\
**Last updated:** [September 29, 2021, 11:01am UTC](https://discuss.dgraph.io/t/auth-rules-for-lamdba-queries-mutations/15365 "2021-09-29T11:01:55Z")

</div>

Is it possible to define auth rules for a lambda query/mutation in the GraphQL schema being sent to Dgraph? Something like Query { myAdminOnlyQuery(...): \[MyResultType\] @auth(...) @lamdba } If it’s not possible to…

---

## [Custom Lambda server support in Dgraph Cloud](https://discuss.dgraph.io/t/custom-lambda-server-support-in-dgraph-cloud/15647)

<div class="topic-metadata">

**Author:** [@Schartey](https://discuss.dgraph.io/u/Schartey)\
**Replies:** 3\
**Last updated:** [September 24, 2021, 10:08am UTC](https://discuss.dgraph.io/t/custom-lambda-server-support-in-dgraph-cloud/15647 "2021-09-24T10:08:01Z")

</div>

Hi! I really like the lambda concept behind dgraph and was very fond to know I could provide my own custom lambda server. On the other hand I really like where DGraph Cloud is heading and would really like to use it onc…

---

## [Custom Lambda does not work anymore!](https://discuss.dgraph.io/t/custom-lambda-does-not-work-anymore/15278)

<div class="topic-metadata">

**Author:** [@Poolshark](https://discuss.dgraph.io/u/Poolshark)\
**Replies:** 3\
**Last updated:** [September 23, 2021, 9:41am UTC](https://discuss.dgraph.io/t/custom-lambda-does-not-work-anymore/15278 "2021-09-23T09:41:12Z")

</div>

Hi, I have created custom lambda which recently did work. For some reason the lambda did stop working. For testing purposes I have created a slimmer version of it, which does not work as well! Here’s the lambda export…

---

## [Slash Lambda with Packages](https://discuss.dgraph.io/t/slash-lambda-with-packages/12321)

<div class="topic-metadata">

**Author:** [@amaster507](https://discuss.dgraph.io/u/amaster507)\
**Replies:** 9\
**Last updated:** [September 23, 2021, 2:28am UTC](https://discuss.dgraph.io/t/slash-lambda-with-packages/12321 "2021-09-23T02:28:12Z")

</div>

Dgraph GraphQL Lambda Overview docs state: Webpack is required to use the sample rank() function. This seems to jive with dgraph/dgraph-lambda readme on Github If you would like to add libraries, then use webpack -…

---

## [Lambda Server in Go](https://discuss.dgraph.io/t/lambda-server-in-go/14088)

<div class="topic-metadata">

**Author:** [@Schartey](https://discuss.dgraph.io/u/Schartey)\
**Replies:** 6\
**Last updated:** [September 8, 2021, 5:58pm UTC](https://discuss.dgraph.io/t/lambda-server-in-go/14088 "2021-09-08T17:58:58Z")

</div>

Hi! After playing around with DGraph, I really came to like its concepts of doing things. Especially in conjunction with the Lambda-Server it provides a lot of benefits. Unfortunately the provided Lambda-Server did not…

---

## [Issue JWT from lambda](https://discuss.dgraph.io/t/issue-jwt-from-lambda/14755)

<div class="topic-metadata">

**Author:** [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Replies:** 3\
**Last updated:** [September 8, 2021, 6:18pm UTC](https://discuss.dgraph.io/t/issue-jwt-from-lambda/14755 "2021-09-08T18:18:56Z")

</div>

I was messing around with dgraph lambdas for a side project and wanted to issue JWTs from this lambda (more or less to hide the secret used to sign with) and it took me a long time to get something to work. I am mostly a…

[Next page](https://discuss.dgraph.io/tag/lambda/240.md?match_all_tags=true&page=1&tags%5B%5D=lambda)
