Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Back to post

Revisions 3

2 years ago
Yong Sheng Tan
39 × 2 Administrator
Feed was set to stale when running BDK bot for python
Feed was set to stale when running BDK bot for python
hi, I am following the Developing Bots using BDK for Python. I have an unexpected pb when I run the bot using command python -m src I am getting the error below. ``` 2022-04-04 09:06:02,575 - symphony.bdk.core.service.datafeed.abstract_datafeed_loop - DEBUG - Starting datafeed loop 2022-04-04 09:06:06,191 - symphony.bdk.core.service.datafeed.datafeed_loop_v2 - INFO - Retrying symphony.bdk.core.service.datafeed.datafeed_loop_v2.DatafeedLoopV2._read_datafeed in 2.0 seconds as it raised ApiException: (400) Reason: HTTP response headers: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 04 Apr 2022 07:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '92', 'Connection': 'keep-alive', 'X-Trace-Id': '38ZrmK:933hdD', 'P3P': 'CP="Symphony does not have a P3P policy"', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS, HEAD', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Strict-Transport-Security': 'max-age=31536000 ; includeSubDomains', 'X-Frame-Options': 'DENY', 'Referrer-Policy': 'strict-origin-when-cross-origin', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block')> HTTP response body: {"code":400,"message":"Feed was set to stale","details":{"message":"Feed was set to stale"}} ``` The bot responds to a /hello command, but still seems offline (grey tick on his avatar icon) and there is no datafeed id on the terminal. 2022-04-04 12:19:21,011 - root - DEBUG - Message received from : <div data-format="PresentationML" data-version="2.0" class="wysiwyg"><p><span class="entity" data-entity-id="0">@Dev Cert Bot ****</span> /hello</p></div> BDK is 2.0
hi, I am following the Developing Bots using BDK for Python. I have an unexpected pb when I run the bot using command python -m src I am getting the error below. ``` 2022-04-04 09:06:02,575 - symphony.bdk.core.service.datafeed.abstract_datafeed_loop - DEBUG - Starting datafeed loop 2022-04-04 09:06:06,191 - symphony.bdk.core.service.datafeed.datafeed_loop_v2 - INFO - Retrying symphony.bdk.core.service.datafeed.datafeed_loop_v2.DatafeedLoopV2._read_datafeed in 2.0 seconds as it raised ApiException: (400) Reason: HTTP response headers: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 04 Apr 2022 07:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '92', 'Connection': 'keep-alive', 'X-Trace-Id': '38ZrmK:933hdD', 'P3P': 'CP="Symphony does not have a P3P policy"', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS, HEAD', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Strict-Transport-Security': 'max-age=31536000 ; includeSubDomains', 'X-Frame-Options': 'DENY', 'Referrer-Policy': 'strict-origin-when-cross-origin', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block')> HTTP response body: {"code":400,"message":"Feed was set to stale","details":{"message":"Feed was set to stale"}} ``` Can you please help me out ? Thanks
#bdk #python
#python #bdk
2 years ago
Feed was set to stale when running BDK bot for python
Feed was set to stale when running BDK bot for python
hi, I am following the Developing Bots using BDK for Python. I have an unexpected pb when I run the bot using command python -m src I am getting the error below. ``` 2022-04-04 09:06:02,575 - symphony.bdk.core.service.datafeed.abstract_datafeed_loop - DEBUG - Starting datafeed loop 2022-04-04 09:06:06,191 - symphony.bdk.core.service.datafeed.datafeed_loop_v2 - INFO - Retrying symphony.bdk.core.service.datafeed.datafeed_loop_v2.DatafeedLoopV2._read_datafeed in 2.0 seconds as it raised ApiException: (400) Reason: HTTP response headers: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 04 Apr 2022 07:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '92', 'Connection': 'keep-alive', 'X-Trace-Id': '38ZrmK:933hdD', 'P3P': 'CP="Symphony does not have a P3P policy"', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS, HEAD', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Strict-Transport-Security': 'max-age=31536000 ; includeSubDomains', 'X-Frame-Options': 'DENY', 'Referrer-Policy': 'strict-origin-when-cross-origin', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block')> HTTP response body: {"code":400,"message":"Feed was set to stale","details":{"message":"Feed was set to stale"}} ``` Can you please help me out ? Thanks
hi, I am following the Developing Bots using BDK for Python. I have an unexpected pb when I run the bot using command python -m src I am getting the error below. 2022-04-04 09:06:02,575 - symphony.bdk.core.service.datafeed.abstract_datafeed_loop - DEBUG - Starting datafeed loop 2022-04-04 09:06:06,191 - symphony.bdk.core.service.datafeed.datafeed_loop_v2 - INFO - Retrying symphony.bdk.core.service.datafeed.datafeed_loop_v2.DatafeedLoopV2._read_datafeed in 2.0 seconds as it raised ApiException: (400) Reason: HTTP response headers: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 04 Apr 2022 07:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '92', 'Connection': 'keep-alive', 'X-Trace-Id': '38ZrmK:933hdD', 'P3P': 'CP="Symphony does not have a P3P policy"', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS, HEAD', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Strict-Transport-Security': 'max-age=31536000 ; includeSubDomains', 'X-Frame-Options': 'DENY', 'Referrer-Policy': 'strict-origin-when-cross-origin', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block')> HTTP response body: {"code":400,"message":"Feed was set to stale","details":{"message":"Feed was set to stale"}} . Can you please help me out ? Thanks
#python #bdk
#bdk-bot #python
2 years ago
Original
Feed was set to stale when running BDK bot for python

hi, I am following the Developing Bots using BDK for Python. I have an unexpected pb when I run the bot using command python -m src I am getting the error below. 2022-04-04 09:06:02,575 - symphony.bdk.core.service.datafeed.abstract_datafeed_loop - DEBUG - Starting datafeed loop 2022-04-04 09:06:06,191 - symphony.bdk.core.service.datafeed.datafeed_loop_v2 - INFO - Retrying symphony.bdk.core.service.datafeed.datafeed_loop_v2.DatafeedLoopV2._read_datafeed in 2.0 seconds as it raised ApiException: (400) Reason: HTTP response headers: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 04 Apr 2022 07:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '92', 'Connection': 'keep-alive', 'X-Trace-Id': '38ZrmK:933hdD', 'P3P': 'CP="Symphony does not have a P3P policy"', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS, HEAD', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'Strict-Transport-Security': 'max-age=31536000 ; includeSubDomains', 'X-Frame-Options': 'DENY', 'Referrer-Policy': 'strict-origin-when-cross-origin', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block')> HTTP response body: {"code":400,"message":"Feed was set to stale","details":{"message":"Feed was set to stale"}} . Can you please help me out ? Thanks
#bdk-bot #python